* (bug 12536) User should be able to get MediaWiki version from any page
* (bug 12622) A JavaScript constant to declare whether api.php is available
* Add caching to the AJAX search
-* Added APCOND_INGROUPS
+* Add APCOND_INGROUPS
+* Add DBA caching to installer
* (bug 18585) Added a bunch of parameters to the revertpage message
print "<li><a href=\"http://eaccelerator.sourceforge.net/\">eAccelerator</a> installed</li>\n";
}
+$conf->dba = function_exists( 'dba_open' );
+
if( !( $conf->turck || $conf->eaccel || $conf->apc || $conf->xcache ) ) {
echo( '<li>Couldn\'t find <a href="http://turck-mmcache.sourceforge.net">Turck MMCache</a>,
<a href="http://eaccelerator.sourceforge.net">eAccelerator</a>,
</p>
<div class="config-input">
- <label class='column'>Shared memory caching:</label>
+ <label class='column'>Object caching:</label>
<ul class="plain">
<li><?php aField( $conf, "Shm", "No caching", "radio", "none" ); ?></li>
aField( $conf, "Shm", "eAccelerator", "radio", "eaccel" );
echo "</li>";
}
+ if ( $conf->dba ) {
+ echo "<li>";
+ aField( $conf, "Shm", "DBA", "radio", "dba" );
+ echo "</li>";
+ }
?>
<li><?php aField( $conf, "Shm", "Memcached", "radio", "memcached" ); ?></li>
</ul>
<br /><br />
MediaWiki can also detect and support eAccelerator, Turck MMCache, APC, and XCache, but
these should not be used if the wiki will be running on multiple application servers.
+ You can also use DBA for storing object cache in the file.
</p>
</div>
$cacheType = 'CACHE_ACCEL';
$mcservers = 'array()';
break;
+ case 'dba':
+ $cacheType = 'CACHE_DBA';
+ $mcservers = 'array()';
+ break;
default:
$cacheType = 'CACHE_NONE';
$mcservers = 'array()';